#include "stdafx.h"
#include "ConsoleEvent.h"

//XConsoleEvent::XConsoleEvent(PHANDLER_ROUTINE callBack)
//{
//	::SetConsoleCtrlHandler(callBack, true);
//}
//
//XConsoleEvent::~XConsoleEvent()
//{
//}
//
//bool XConsoleEvent::OnConsoleEvent(DWORD CtrlType)
//{
//	switch(CtrlType)
//	{
//	case CTRL_CLOSE_EVENT:
//		return true;
//	case CTRL_SHUTDOWN_EVENT:
//		break;
//	case CTRL_C_EVENT:
//		break;
//	case CTRL_LOGOFF_EVENT:
//		break;
//	}
//	return false;
//}

